package parttern.facade;

public class Phone {

    private final Camera camera = new Camera();
    private final Sound sound = new Sound();

    public void takePhoto() {
        camera.takePhoto();
    }

    public void playMusic() {
        sound.playMusic();
    }


    ///test
    public static void main(String[] args) {
        Phone phone = new Phone();
        phone.takePhoto();
        phone.playMusic();
    }

}
